package org.jeecg.modules.product.contractor.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.v3.oas.annotations.media.Schema;
import org.jeecgframework.poi.excel.annotation.Excel;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecg.common.aspect.annotation.Dict;


/**
 * @Description: 承包商信息
 * @Author: jeecg-boot
 * @Date:   2024-07-08
 * @Version: V1.0
 */
@Data
@TableName("tb_contractor")
@Schema( description="承包商信息")
public class TbContractor implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
	/**创建人*/
    @Schema(description = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private String sysOrgCode;
	/**承包商名称*/
    @Excel(name = "承包商名称", width = 15)
    @Schema(description = "承包商名称")
    private String name;
	/**类型*/
    @Excel(name = "类型", width = 15, dicCode = "contractorType")
    @Dict(dicCode = "contractorType")
    @Schema(description = "类型")
    private String type;
	/**税码/社会信用代码*/
    @Excel(name = "税码/社会信用代码", width = 15)
    @Schema(description = "税码/社会信用代码")
    private String socialCreditCode;
	/**承包商负责人*/
    @Excel(name = "承包商负责人", width = 15)
    @Schema(description = "承包商负责人")
    private String chargePeople;
	/**承包商代码*/
    @Excel(name = "承包商代码", width = 15)
    @Schema(description = "承包商代码")
    private String number;
	/**资质审查*/
    @Excel(name = "资质审查", width = 15, dicCode = "qualificationExamination")
    @Dict(dicCode = "qualificationExamination")
    @Schema(description = "资质审查")
    private String qualificationExamination;
	/**通讯地址*/
    @Excel(name = "通讯地址", width = 15)
    @Schema(description = "通讯地址")
    private String mailingAddress;
	/**联系人*/
    @Excel(name = "联系人", width = 15)
    @Schema(description = "联系人")
    private String contactPerson;
	/**联系方式*/
    @Excel(name = "联系方式", width = 15)
    @Schema(description = "联系方式")
    private String contactTel;
	/**状态*/
    @Excel(name = "状态", width = 15, dicCode = "normalOrStop")
    @Dict(dicCode = "normalOrStop")
    @Schema(description = "状态")
    private String deleted;
	/**租户id*/
    @Excel(name = "租户id", width = 15)
    @Schema(description = "租户id")
    private String tenantId;
}
